Release 10.1A: OpenEdge Data Management:
DataServer for ORACLE
Manually adding PROGRESS_RECID to ORACLE
If you have an existing ORACLE database, and you wish to take advantage of FIND PREV/LAST statements and cursor repositioning in an OpenEdge application for this database, you must manually add the
PROGRESS_RECID.
![]()
To manually add PROGRESS_RECID to the ORACLE database:
- Using SQL*Plus, log in as the ORACLE user who owns the table.
- Create a sequence generator for the table named
table-name_SEQ. Start with 1 and increment by 1, as shown:
- Add a column to the table named
progress_recid. This column holds a number that can be null. For example:
- Update the table and set the
progress_recidusingtable-name_SEQ.nextval,as shown:
- Create a unique index name,
table-name##progress_recid, that consists of just theprogress_recidcolumn, as shown:
- Drop every non-unique index from the table and recreate it using the same components. Add
progress_recidas the last component, as shown:
- Verify that the sequence was created. For example:
- Connect to ORACLE and use the OpenEdge Data Dictionary’s ORACLE utilities to update the schema holder.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |